package com.vfa.fishing;

import android.app.Dialog;
import android.content.Context;
import android.view.View;
import android.view.Window;
import android.view.View.OnClickListener;
import android.widget.Button;

public class HelpDialog extends Dialog implements OnClickListener 
{
	private Button btnClose;
	public HelpDialog(Context context) {
		super(context);
		requestWindowFeature(Window.FEATURE_NO_TITLE);  
		setContentView(R.layout.helpgame);
		btnClose =(Button)findViewById(R.id.btnCloseHelp);
		btnClose.setOnClickListener(this);
		// TODO Auto-generated constructor stub
	}

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		if(v==btnClose)
			dismiss();
	}

}
